class ChangeTaskEntity {
	List<ChangeTaskData> datas;

	ChangeTaskEntity({this.datas});

	ChangeTaskEntity.fromJson(List<dynamic> json) {
		if (json != null) {
			datas = new List<ChangeTaskData>();(json as List).forEach((v) { datas.add(new ChangeTaskData.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.datas != null) {
      data['datas'] =  this.datas.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class ChangeTaskData {
	String creatorUserId;
	String orderno;
	String lastModificationTime;
	dynamic materialid;
	dynamic materialUri;
	dynamic checkResult;
	dynamic spec;
	String typecode;
	dynamic areaid;
	dynamic auditorid;
	String warehouseid;
	dynamic model;
	String checktaskno;
	String id;
	String orderstatetypeid;
	dynamic shelfname;
	bool isuploaded;
	dynamic baseunitname;
	dynamic erpno;
	dynamic supplierid;
	dynamic areaname;
	dynamic successtime;
	bool isintelligent;
	dynamic locationcode;
	dynamic diffquantity;
	dynamic customerid;
	dynamic note;
	dynamic batchno;
	dynamic materialname;
	dynamic auditortime;
	String creationTime;
	dynamic auditnote;
	dynamic isdiffquantity;
	bool ischeck;
	bool isDeleted;
	dynamic checkcount;
	dynamic realquantity;
	dynamic stocktaking;
	dynamic totalcount;
	dynamic checkdetailid;
	dynamic quantity;
	dynamic worktoolcode;
	dynamic ordertypeid;
	String checkmode;
	String lastModifierUserId;
	dynamic endtime;
	String ordersource;
	dynamic locationid;
	String tenantId;
	dynamic materialcode;
	bool isdifference;
	String typename;
	dynamic skuid;

	ChangeTaskData({this.creatorUserId, this.orderno, this.lastModificationTime, this.materialid, this.materialUri, this.checkResult, this.spec, this.typecode, this.areaid, this.auditorid, this.warehouseid, this.model, this.checktaskno, this.id, this.orderstatetypeid, this.shelfname, this.isuploaded, this.baseunitname, this.erpno, this.supplierid, this.areaname, this.successtime, this.isintelligent, this.locationcode, this.diffquantity, this.customerid, this.note, this.batchno, this.materialname, this.auditortime, this.creationTime, this.auditnote, this.isdiffquantity, this.ischeck, this.isDeleted, this.checkcount, this.realquantity, this.stocktaking, this.totalcount, this.checkdetailid, this.quantity, this.worktoolcode, this.ordertypeid, this.checkmode, this.lastModifierUserId, this.endtime, this.ordersource, this.locationid, this.tenantId, this.materialcode, this.isdifference, this.typename, this.skuid});

	ChangeTaskData.fromJson(Map<String, dynamic> json) {
		creatorUserId = json['creatorUserId'];
		orderno = json['orderno'];
		lastModificationTime = json['lastModificationTime'];
		materialid = json['materialid'];
		materialUri = json['materialUri'];
		checkResult = json['checkResult'];
		spec = json['spec'];
		typecode = json['typecode'];
		areaid = json['areaid'];
		auditorid = json['auditorid'];
		warehouseid = json['warehouseid'];
		model = json['model'];
		checktaskno = json['checktaskno'];
		id = json['id'];
		orderstatetypeid = json['orderstatetypeid'];
		shelfname = json['shelfname'];
		isuploaded = json['isuploaded'];
		baseunitname = json['baseunitname'];
		erpno = json['erpno'];
		supplierid = json['supplierid'];
		areaname = json['areaname'];
		successtime = json['successtime'];
		isintelligent = json['isintelligent'];
		locationcode = json['locationcode'];
		diffquantity = json['diffquantity'];
		customerid = json['customerid'];
		note = json['note'];
		batchno = json['batchno'];
		materialname = json['materialname'];
		auditortime = json['auditortime'];
		creationTime = json['creationTime'];
		auditnote = json['auditnote'];
		isdiffquantity = json['isdiffquantity'];
		ischeck = json['ischeck'];
		isDeleted = json['isDeleted'];
		checkcount = json['checkcount'];
		realquantity = json['realquantity'];
		stocktaking = json['stocktaking'];
		totalcount = json['totalcount'];
		checkdetailid = json['checkdetailid'];
		quantity = json['quantity'];
		worktoolcode = json['worktoolcode'];
		ordertypeid = json['ordertypeid'];
		checkmode = json['checkmode'];
		lastModifierUserId = json['lastModifierUserId'];
		endtime = json['endtime'];
		ordersource = json['ordersource'];
		locationid = json['locationid'];
		tenantId = json['tenantId'];
		materialcode = json['materialcode'];
		isdifference = json['isdifference'];
		typename = json['typename'];
		skuid = json['skuid'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['creatorUserId'] = this.creatorUserId;
		data['orderno'] = this.orderno;
		data['lastModificationTime'] = this.lastModificationTime;
		data['materialid'] = this.materialid;
		data['materialUri'] = this.materialUri;
		data['checkResult'] = this.checkResult;
		data['spec'] = this.spec;
		data['typecode'] = this.typecode;
		data['areaid'] = this.areaid;
		data['auditorid'] = this.auditorid;
		data['warehouseid'] = this.warehouseid;
		data['model'] = this.model;
		data['checktaskno'] = this.checktaskno;
		data['id'] = this.id;
		data['orderstatetypeid'] = this.orderstatetypeid;
		data['shelfname'] = this.shelfname;
		data['isuploaded'] = this.isuploaded;
		data['baseunitname'] = this.baseunitname;
		data['erpno'] = this.erpno;
		data['supplierid'] = this.supplierid;
		data['areaname'] = this.areaname;
		data['successtime'] = this.successtime;
		data['isintelligent'] = this.isintelligent;
		data['locationcode'] = this.locationcode;
		data['diffquantity'] = this.diffquantity;
		data['customerid'] = this.customerid;
		data['note'] = this.note;
		data['batchno'] = this.batchno;
		data['materialname'] = this.materialname;
		data['auditortime'] = this.auditortime;
		data['creationTime'] = this.creationTime;
		data['auditnote'] = this.auditnote;
		data['isdiffquantity'] = this.isdiffquantity;
		data['ischeck'] = this.ischeck;
		data['isDeleted'] = this.isDeleted;
		data['checkcount'] = this.checkcount;
		data['realquantity'] = this.realquantity;
		data['stocktaking'] = this.stocktaking;
		data['totalcount'] = this.totalcount;
		data['checkdetailid'] = this.checkdetailid;
		data['quantity'] = this.quantity;
		data['worktoolcode'] = this.worktoolcode;
		data['ordertypeid'] = this.ordertypeid;
		data['checkmode'] = this.checkmode;
		data['lastModifierUserId'] = this.lastModifierUserId;
		data['endtime'] = this.endtime;
		data['ordersource'] = this.ordersource;
		data['locationid'] = this.locationid;
		data['tenantId'] = this.tenantId;
		data['materialcode'] = this.materialcode;
		data['isdifference'] = this.isdifference;
		data['typename'] = this.typename;
		data['skuid'] = this.skuid;
		return data;
	}
}
